package com.ruoyi.business.mapper;

import java.util.List;
import com.ruoyi.business.domain.BusinessTeacherStudentRel;

/**
 * 教师关系Mapper接口
 * 
 * @author ruoyi
 * @date 2022-11-30
 */
public interface BusinessTeacherStudentRelMapper 
{
    /**
     * 查询教师关系
     * 
     * @param relId 教师关系主键
     * @return 教师关系
     */
    public BusinessTeacherStudentRel selectBusinessTeacherStudentRelByRelId(Long relId);

    /**
     * 查询教师关系列表
     * 
     * @param businessTeacherStudentRel 教师关系
     * @return 教师关系集合
     */
    public List<BusinessTeacherStudentRel> selectBusinessTeacherStudentRelList(BusinessTeacherStudentRel businessTeacherStudentRel);

    /**
     * 新增教师关系
     * 
     * @param businessTeacherStudentRel 教师关系
     * @return 结果
     */
    public int insertBusinessTeacherStudentRel(BusinessTeacherStudentRel businessTeacherStudentRel);

    /**
     * 修改教师关系
     * 
     * @param businessTeacherStudentRel 教师关系
     * @return 结果
     */
    public int updateBusinessTeacherStudentRel(BusinessTeacherStudentRel businessTeacherStudentRel);

    /**
     * 删除教师关系
     * 
     * @param relId 教师关系主键
     * @return 结果
     */
    public int deleteBusinessTeacherStudentRelByRelId(Long relId);

    /**
     * 批量删除教师关系
     * 
     * @param relIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBusinessTeacherStudentRelByRelIds(String[] relIds);
}
